import { ITopupHistoryItem } from './components/topup-history-item/types';
import { TOPUP_CHECK_STATUS } from '@/enum/topup';
import { LOADING_STATUS } from '@/enum/loadingStatus';

interface ITopupHistoryOptions {
	checkStatus? : TOPUP_CHECK_STATUS;
	label : string;
	loadingStatus : LOADING_STATUS;
	pageSize:number;
	pageNum:number;
	list : ITopupHistoryItem[];
}

interface IGetTopupHistoryListOptions{
	customer_id:number;
	status?:TOPUP_CHECK_STATUS;
	page:number;
	page_num:number;
}

interface IGetTopupHistoryListResult{
	total:number;
	data:ITopupHistoryItem[]
}

interface ITabsChangeEvent{
	value:number;
	name:string;
}

export {
	ITopupHistoryOptions,
	IGetTopupHistoryListOptions,
	ITabsChangeEvent,
	IGetTopupHistoryListResult
}